Crate gix_attributes

source ·
Expand description

Parse .gitattribute files and provide utilities to match against them.

Feature Flags

  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Re-exports

Modules

Structs

  • Name an attribute and describe it’s assigned state.
  • Holds validated attribute data as a reference
  • Represents a validated attribute name
  • Holds a validated attribute name as a reference
  • A grouping of lists of patterns while possibly keeping associated to their base path in order to find matches.

Enums

  • A list of known global sources for git attribute files in order of ascending precedence.
  • The state an attribute can be in, owning the value.
  • The state an attribute can be in, referencing the value.

Functions

  • Parse attribute assignments line by line from bytes, and fail the operation on error.